package com.job.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 角色权限关联表(RolePerm)表实体类
 *
 * @author makejava
 * @since 2024-10-10 16:20:52
 */
@TableName(value = "perm")
@Data
@Schema(description = "权限表")
public class RolePerm extends BaseEntity{
    //主键ID
    private static final long serialVersionUID = 1L;

    @Schema(description = "角色ID")
    @TableField("role_id")
    private Integer roleId;
//权限ID
@Schema(description = "权限ID")
@TableField("perm_id")
    private Integer permId;


}

